package com.demo;import org.springframework.stereotype.Component;import org.springframework.stereotype.Controller;@Componentpublic class User {    public User(){        System.out.println("User已被创建....");    }    public String sayHi()    {        return "Hello World";    }}